import GraphBack from '../../src'
const canvas = document.createElement('canvas')
canvas.style.position = 'fixed'
canvas.style.width = canvas.style.height = '100%'
canvas.style.top = canvas.style.left = '0'
document.body.appendChild(canvas)

// 场景
const scene = new GraphBack.Scene(canvas)

const group = new GraphBack.Group()

const rect = new GraphBack.Rect({ color: 'green', x: 300, y: 300, width: 200 })
const circle = new GraphBack.Circle({ color: 'red', x: 400, y: 350, radius: 30 })

group.add(rect)
group.add(circle)

scene.add(group)

scene.render()
